package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程表2对象 courses_2
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
public class Courses2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程ID */
    private Long courseId;

    /** 科目 */
    @Excel(name = "科目")
    private String courseName;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String teacherName;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 课程备注 */
    @Excel(name = "课程备注")
    private String Cremark;

    public Courses2(String cremark) {
        Cremark = cremark;
    }

    public String getCremark() {
        return Cremark;
    }

    public void setCremark(String cremark) {
        Cremark = cremark;
    }

    private Students2 students2;

    public Courses2() {
    }

    public Courses2(Students2 students2) {
        this.students2 = students2;
    }

    public Students2 getStudents2() {
        return students2;
    }

    public void setStudents2(Students2 students2) {
        this.students2 = students2;
    }

    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    @Override
    public String toString() {
        return "Courses2{" +
                "courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", studentId=" + studentId +
                ", Cremark='" + Cremark + '\'' +
                ", students2=" + students2 +
                '}';
    }
}
